﻿using AngleSharp.Scripting;
using Microsoft.CodeAnalysis.CSharp.Scripting;

namespace ConsoleApp8
{
    //8 字典初始化

    class Program
    {
        static void Main(string[] args)
        {
            Dictionary<string, int> personAge = new Dictionary<string, int>
        {
            { "shang", 25 },
            { "shou", 24 },
            { "lai", 28 }
        };

            foreach (var pa in personAge)
            {
                Console.WriteLine($"{pa.Key}: {pa.Value}");
            }
        }
    }
}